package com.yanmaohu.nikita.data.operator;

import com.yanmaohu.nikita.scanner.TokenType;

/**
 * @author Bright Lee
 */
public enum BitOperator {

    AND(TokenType.BIT_AND),
    INVERT(TokenType.BIT_INVERT),
    OR(TokenType.BIT_OR),
    LEFT_SHIFT(TokenType.LEFT_SHIFT),
    RIGHT_SHIFT(TokenType.RIGHT_SHIFT),
    ARITHMETIC_RIGHT_SHIFT(TokenType.AM_RIGHT_SHIFT);

    private final TokenType tokenType;

    BitOperator(TokenType tokenType) {
        this.tokenType = tokenType;
    }

}
